AlgoliaSearch\Iterators\AlgoliaIterator S

Total Complexity 14
Dependencies 2
Dependents 0
Total lines 145
Lines of code 41
Logical lines of code 20
Comment lines 70
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
__construct()
S
68 2 7
next()
S
69 2 7
ensureResponseExists()
S
74 2 5
current()
S
72 1 5
key()
S
82 1 3
valid()
S
75 1 4
rewind()
S
77 1 4
getCurrentPage()
S
79 1 3
getHitIndexForCurrentPage()
S
79 1 3
fetchCurrentPageResults()
S
100 1 0
formatHit()
S
100 1 0